GDK W32: Adjust to new popup surfaces
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 26 May 2019 15:36:03 +0000 (15:36 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000 (20:25 +0000)
commit6ab565b84a13e24a29f061aae900abcb02aaf304
treea06ee641b8a76175692c7168e14b169a685f5a41
parent11fdde0b8fd47c55b37af476d5ba0be1ca77c37b
GDK W32: Adjust to new popup surfaces

1) Handle GDK_SURFACE_POPUP in RegisterGdkClass()
   (for now pretend it's the same as GDK_SURFACE_TOPLEVEL)

2) Remove useless code from GDK_SURFACE_TOPLEVEL case in _gdk_win32_display_create_surface()
   (now there's just GDK_SURFACE_TOPLEVEL there, no need for a type check)

3) Have a separate case for GDK_SURFACE_POPUP and ensure that
   it doesn't get WS_CHILDWINDOW (and neither should GDK_SURFACE_TEMP).
gdk/win32/gdksurface-win32.c